Differential Revision: https://phabricator.services.mozilla.com/
D262335
Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-
1983736-Patch-jsonschema-to-work-with-Python-3.1.patch
# modified 'dummy' version of it so that the dependency checks still succeed, but
# if it ever is attempted to be used, it will fail gracefully.
"ansicon",
+ # jsonschema 4.17.3 is incompatible with Python 3.14+,
+ # but later versions use a dependency with Rust components, which we thus can't vendor.
+ # For now we apply the minimal patch to jsonschema to make it work again.
+ "jsonschema",
}
return None
uri, fragment = urldefrag(url)
for subschema in subschemas:
+ id = subschema["$id"]
+ if not isinstance(id, str):
+ continue
target_uri = self._urljoin_cache(
- self.resolution_scope, subschema["$id"],
+ self.resolution_scope, id,
)
if target_uri.rstrip("/") == uri.rstrip("/"):
if fragment: